package practice;

import java.util.stream.IntStream;

public class Lambda {
    public static void main(String[] args) {
        int[] nums = new int[]{1,2,5,4,3};
        int min = IntStream.of(nums).min().getAsInt();
        System.out.println(min);
    }


}
